Dynamic page generator

ABSTRACT

In accordance with embodiments of the invention, a method for providing at least one customized advertisement in a dynamically generated customized page is provided. The method includes receiving a user request for a customized page. In response to the user request, the method further includes receiving a template program specific to the user. The template program is based on user configuration information. The user configuration information includes user demographic information. The template program is received from one of at least two locations. The location is determined from the frequency of the user request for the customized page. After receiving an advertisement selected in accordance to the user demographic information, the template program is executed using the selected advertisement to generate the customized page. The customized page is provided to the user.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No.11/656,636, filed Jan. 22, 2007, which is a continuation of U.S.application Ser. No. 09/393,718, filed Sep. 10, 1999, which is acontinuation of U.S. application Ser. No. 08/873,975, filed Jun. 12,1997. The contents of these patent applications are herein incorporatedby reference in their entirety.

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains materialwhich is subject to copyright protection. The copyright owner has noobjection to the xerographic reproduction by anyone of the patentdocument or the patent disclosure in exactly the form it appears in thePatent and Trademark Office patent file or records, but otherwisereserves all copyright rights whatsoever.

BACKGROUND OF THE INVENTION

The present invention relates to the field of customized informationpresentation. More specifically, one embodiment of the inventionprovides a custom page server which can quickly serve custom pages andis scalable to handle many users simultaneously.

Web servers for serving static documents (“Web pages”) over the globalInternet are known. While static documents are useful in manyapplications where the information to be presented to each requestinguser is the same, some applications require customization to appeal tousers. For example, in presenting news to users, custom pages presentnews which is more relevant to the requesting users than static pages.With static pages, a user will often have to scroll through many topicsnot of interest to that user to get to the information of interest. Withcustom pages, the information is filtered according to each user'sinterest.

Customizing a server response based on the requester is known, howeverknown systems do not scale well. One method of serving custom pages isto execute a script, such as a CGI (Common Gateway Interface) script, orother program to collect the information necessary to generate thecustom page. For example, if the custom page is a news page containingstock quotes, sports scores and weather, the script might poll a quoteserver to obtain the quotes of interest, poll a sports score server toobtain the scores of interest and poll a weather server to obtain theweather. With this information, the server generates the custom page andreturns it to the user. This approach is useful where there are not manyrequesters and where the attendant delay is acceptable to users. Whileit may be the case that current users are willing to wait while pagesload in their browsers, growing impatience with waiting will turn usersaway from such servers, especially as use increases.

One approach to avoiding long waits is to transfer the custominformation in non-real-time, so that the information is stored local tothe user as it arrives and is presented to the user on request. Adisadvantage of such a 15 system is that the networks used by the userbecome clogged with data continually streaming to the user and requirelarge amounts of local storage. Another disadvantage is that the locallystored information will become out of date as the server receives newdata.

From the above it is seen that an improved system for delivering custompages is needed.

SUMMARY OF THE INVENTION

In accordance with embodiments of the invention, a method for providingat least one customized advertisement in a dynamically generatedcustomized page is provided. The method includes receiving a userrequest for a customized page. In response to the user request, themethod further includes receiving a template program specific to theuser. The template program is based on user configuration information.The user configuration information includes user demographicinformation. The template program is received from one of at least twolocations. The location is determined from the frequency of the userrequest for the customized page. After receiving an advertisementselected in accordance to the user demographic information, the templateprogram is executed using the selected advertisement to generate thecustomized page. The customized page is provided to the user.

In accordance with other embodiments of the invention, a system forproviding at least one customized advertisement for a dynamicallygenerated customized page is provided. The system includes logic forreceiving a user request for a customized page and logic for receiving atemplate program specific to the user based on user configurationinformation. The user configuration information includes userdemographic information. Furthermore, the template program is receivedfrom one of at least two locations. The location is determined from thefrequency of the user request for the customized page. The systemfurther includes logic for receiving an advertisement selected inaccordance to the user demographic information, and a processor forexecuting the template program using the selected advertisement togenerate the customized page. Finally, logic for providing thecustomized page to the user is included in the system.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a client-server architecture according toone embodiment of the present invention;

FIG. 2 is a schematic diagram showing how a user's custom page isgenerated from a user configuration, a global template and live data.

FIG. 3 is an illustration of a global front page template as might beused to generate user templates.

FIG. 4 is an illustration of a user template generated from the globalfront page template of FIG. 3 as might be used to generate a custom userpage.

FIG. 5 is an illustration of a user page generated using the globaltemplate of FIG. 4.

FIG. 6 is an illustration of how intelligent defaults are selected.

Two appendices are included at the end of this description. Appendix Ais a full listing of the user template shown in part in FIG. 4. AppendixB is an HTML source code listing of the HTML page used to generate thebrowser display shown in FIG. 5.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows a client-server system 100 which is used to display customnews pages. A custom news page is displayed on a browser 102 whichobtains the page from a page server 104 via Internet 106. While only onebrowser 102 is shown, a typical system will have many browsersconnecting and disconnecting to the system.

The art of client-server systems using HTTP (HyperText TransportProtocol) messaging or other protocols is well known and will not beaddressed in detail here. Essentially, browser 102 makes a request for aparticular page by specifying a Uniform Resource Locator (“URL”) for thepage. In the example shown in FIG. 1, the request is directed to the URL“http:/my.yahoo.com/”. Normally, this URL is directed to the rootdirectory of a machine named my.yahoo.com. As is the convention inInternet communications, browser 102 submits the domain portion(“my.yahoo.com”) of the URL to a name server, such as name server 108,to determine an actual address for the page server 104. Name server 108returns an IP (Internet Protocol) address to browser 102 directing it toa page server 104. Where multiple page servers 104 are used, name server108 returns IP addresses in a round-robin fashion to distribute the loadover multiple page servers. Alternatively, name server 108 mightdistribute the load more deterministic by tracking browser addresses andhashing the browser address to select a page server 104. It isdeterministic in that any given browser always accesses the same pageserver 104. This allows for more efficient caching of user templates,since more cache hits are likely where a given browser always returns toone page server.

When a page server receives the URL for its root directory, itinterprets that as a request for the user's custom summary page. Theuser is determined not from the URL, but from a “cookie” provided bybrowser 102 with the URL. Cookies are strings of data stored by browsersand sent along with any request to a URL having a domain associated withthe cookie.

Page servers 104 obtain the live data from many disparate sources andreformat the data into a form suitable for use by the page server. Pageservers 104 are coupled, via a network, to edit servers 112, which areused when a user changes his or her user template. The user templatesare stored in a user configuration database 116 and are stored andprovided to edit servers by a network appliance 114 written for thispurpose. Network appliance 114 is a process tuned to quickly locatefiles in large directories (N4OO files/directory) and return them to theedit servers or page servers. One embodiment of network appliance 114 isthe F330 fault-tolerant scalable server supplied by Network Appliance,of Mountain View, Calif. In a specific embodiment, page servers 104 aremicrocomputers running the nix @ operating system with 64 to 128megabytes of shared memory, page servers 104 and edit servers 112 arecoupled using TCP/IP (Transport Control Protocol/Internet Protocol) andthe user configuration database 116 is a Unix file structure whichstores each user configuration in a text file. The particular file usedby a user is a combination of the user's user name and a hash result, toallow for quick access when many user configurations are stored. Forexample, the user configuration for summary “front” page for a user“ash802” might be stored at /de/13/y.ash802, where “de” and “13” arehash results of a hash of the user name “ash802”.

FIG. 2 shows in more detail the generation of a custom page for a user,using a front page generator 200 and page server 104. Front pagegenerator 200 generates a user template 202 from a global front pagetemplate 204 and a user configuration record 206. FIG. 3 shows anexample of a global front page template. User configuration record 206is a record selected from user configuration database 116. The recordmight have been obtained from a cache, but in the preferred embodiment,the records are not cached, the user templates are.

Page server 104 is shown comprising a page generator 210, a sharedmemory 212 for storing live data and a cache 214 for caching usertemplates such as user template 202. Page generator 210 generates acustom front page 218 from a user template and the live data stored inshared memory 212. Although not shown, custom pages other than the frontpage can be generated in a similar fashion. Using user templates and ashared memory for the live data, page server 104 can quickly buildcustom pages in response to a user request. Where the user template iscached, the page can be generated entirely within page server 104.

Shared memory 212 is organized as a set of memory mapped files. Withmemory mapped files, the operating system maintains the data inpermanent storage, but permanently caches the files in shared memory212. This allows for quick recovery should a page server crash, sinceall of the shared memory can simply be reloaded from the permanentstorage. This is a great feature from a user convenience standpoint,since the user will never be faced with a situation where they have towait for a server to rebuild a page for them by querying the variousdata providing servers, such as sports server 230, stock server 232 andnews server 234. As should be apparent from this description and FIG. 2,page generator 210 can generate custom front page 218 much more quicklyusing shared memory 212 as compared with using servers 230, 232, 234 andpage template 202. One reason for this is that the time it takes toretrieve data from shared memory 212-does not appreciably increaserelative to the bandwidth delay time when more data is retrieved. Forexample, if stock server 232 were queried for each individual stockquote, a page with fifty stock quotes might take ten times as long togenerate as a page with five stock quotes.

One aspect of the present invention is the realization that every pieceof information a person can request on a page is storable in a sharedmemory closely coupled to a page generator. For example, page server 104shown in FIG. 2 can accommodate 65,000 different symbols for whichquotes are provided. In one embodiment, all of the stock information forall 65,000 symbols is stored in a 13 to 14 megabytes section of theshared memory. Where shared memory 212 is a 64 MB or 128 MB memory, thisleaves sufficient room for other data, such as news headlines, sportscores, and memory used by the operating system for each process runningon page server 104. In some embodiments, shared memory 212 is largeenough to also accommodate more than just news headlines. For example,news summaries (as described further in connection with FIG. 5) can bestored in shared memory 212 for quick access.

As shown in FIG. 2, the user's front page template 202 does not need tobe generated each time, but rather is stored in cache 214. In apreferred embodiment, user templates are stored in cache 214 for longenough to be reused. Some users might choose to access their front pageonly infrequently, while others might choose to access their front pagehourly. Since the pages are customized and dynamic, the user would seedifferent information each time, but the same user template would beused each time. Of course, when the user edits his or her template, anycached copy of a user template is flushed. A garbage-collection processmay also flush the cache of user pages which have been inactive forseveral days. In one implementation, cache 214 would accommodate 60,000to 70,000 user templates. Where a particular page server is assigned ona random round robin basis, multiple page servers may cache their owncopy of a given user template, but where a user is directed always to aparticular server (except in the case where the particular server failsand a secondary server is used), that page server will be the only onewhich needs to cache that users user template. Even where the roundrobin name server scheme is used, some browsers may cache IP addresses,even longer than the specified “time to live” variable associated withthe IP address, in order to save the time required to obtain an IPaddress each time. With such a browser, the user is effectively directedto the same page server each time and the server side of the pageserving system does not need to direct users to particular page servers.With newer browsers, however, the “time to live” variable is honored andnew requests are made for IP addresses after the “time to live” hasexpired. In these cases, if the assignment of a user to a single pageserver is desired, name server 108 (see FIG. 1) will use the user namefrom the provided cookie or the user's IP address to assign a pageserver based on a hash of the user name or IP address.

FIG. 3 is an illustration of global user template 204. Global usertemplate 204 is an HTML (HyperText Markup Language) document withadditional tags as placeholders for live data. Several placeholders 302are shown in FIG. 3.

FIG. 4 is an illustration of user template 202 as might be generatedfrom global user template 204 (see FIG. 3) and a user configurationrecord 206. A full listing of user template 202 is included herewith inAppendix A. User template 202 is determined by the user configurationand is independent of the live data, therefore it can be cached withoutneeding to be updated, unless the user chooses to edit the configurationinformation. Preferably, the user templates are cached rather than theuser configuration, to save a step and reduce the time to respond to arequest for the page. Caching is more effective where the typical usermakes several requests in a short time span and then doesn't make anyrequests for a long period of time.

Essentially, user template 202 contains the information about the userwhich does not change until the user changes his or her preferences. Ofcourse, the system operator could choose to make changes to how thesystem operates, thus requiring changes to the user preferences and usertemplates. User template 202 is shown comprising internal variables suchas a time zone and demographic information. The demographic information,on the second line in FIG. 4 is used for selection of an advertisementwhich will be part of the custom page. In this example, theadvertisement is targeted by the demographic information in the usertemplate “:M,85,95035,T,*” indicating that a suitable ad should betargeted to a male user, age 85, located in zip code 95035, etc. Asshown, the portfolio section contains selected stock symbols, thescoreboard section contains selected team symbols, and the weathersection contains selected weather cities/zip codes.

The selections of stock quote symbols, team scores, and weather citiesare set by the user. In a preferred embodiment, intelligent defaults areselected by the system prior to user selection, so that users unfamiliarwith the customization process will nonetheless be able to view nonempty custom pages. This is described in further detail below inconnection with FIG. 6.

FIG. 5 is an illustration of a user front page 218 returned by pageserver 104. User front page 218 as shown in FIG. 5 includes manyelements, some of which are described here in further detail. User frontpage 218 is built according to a user template and live data. The usertemplate specifies, for example which quotes are shown in the portfoliomodule, which cities are displayed in the weather module, etc. Each ofthe modules 504 can be customized by a user and moved about front page218. The modules 504 are also reusable, in that any customized modulewhich appears on multiple pages can be edited from any one of thosepages and the edits will be reflected on each of the pages. Other custompages for the user can be viewed by selecting one of the page buttons502 appearing below the header. Other pages and utilities can beselected using the buttons 508 which are part of the header.

In addition to all of the live date shown in FIG. 5 being stored in theshared memory, summaries from each of the major news topics can also bestored in the shared memory and viewed by pressing on the news topicheader, such as news topic header 506. As should be noted, the pagegenerator can also intelligently display dates 510 customized for aparticular user, using a time zone variable in the user template. Thistime zone variable is shown as the first line in user template 202 inFIG. 4. In addition to being able to modify each of the modules, in manycases the order of appearance of the modules is customizable. Forexample, the order of the various sections of user template 202 shown inFIG. 4 is not fixed.

The preference editing process can be initiated by the user pressing theappropriate edit button 512. As explained above, once the editingprocess is complete, the user template is flushed from the cache andregenerated. Since each of the news stories is essentially a static pagelinked to a headline shown in the news section, these can simply belinked to static pages on a news server.

Referring now to FIG. 6, an illustration of intelligent defaulting forpopulating a user template, and consequently a user summary page. Aspart of a registration process, a user indicates, among other things,his or her zip code. This zip code is used to locate an approximatelongitude and latitude for the user using a zip code lookup table 602.This allows the user's location to be located on a map 604. Map 604provides city boundaries and, with team location table 606, alsoprovides locations for various sports teams which can be selected in asports module. In selecting a default predetermined number of cities andsports teams for inclusion as initial selections for a particular user,a circle is drawn around the user and increased in diameter until thecircle envelopes a suitable predetermined number of cities and sportsteams. In this way, each user is guaranteed a default number of nearbyteams and cities for sports and weather, respectively. While thisassumes that the user is interested in only the teams nearest the user,the system can be arranged to provide intelligent defaults wheregeographic anomalies are known to exist. Geographic anomalies occur incommunities which have more loyalty to distant teams than nearby teams,such as might occur when the distant team is much better than the nearbyteam or when the nearby team recently moved to a distant location. Inany case, the user is allowed customize his or her pages beginning withthe intelligent defaults selected.

Other intelligent defaults can be provided in other contexts. Forexample, the header of user front page 218 includes a button 508 labeled“myweb” which, when pressed, would lead the user to a custom listing ofweb sites. The initial defaults for that custom listing of web sitesmight be generated based on the keywords of interest to that user orbased on the news topics, sports teams or weather cities selected by theuser.

The above description is illustrative and not restrictive. Manyvariations of the invention will become apparent to those of skill inthe art upon review of this disclosure. The scope of the inventionshould, therefore, be determined not with reference to the abovedescription, but instead should be determined with reference to theappended claims along with their full scope of equivalents.

1. A method comprising: receiving a user request for a customized page;receiving a template program that is unique to the user and based onuser configuration information, the user configuration information beingsupplied by the user and used to build the template program that isunique to the user, the user configuration information including userdemographic information, and wherein the template program is receivedfrom one of at least two locations, the location determined from thefrequency of the user request for the customized page; receiving anadvertisement selected in accordance to the user demographicinformation; executing the template program using the selectedadvertisement to generate the customized page; and providing thecustomized page to the user.
 2. The method of claim 1, wherein the userdemographic information includes at least one of the group consisting ofsex, age, and location information.
 3. The method of claim 2, whereinlocation information comprises a postal code.
 4. The method of claim 2,wherein location information comprises a time zone.
 5. The method ofclaim 1, wherein the advertisement is classified based on targeteddemographic information.
 6. The method of claim 1, wherein the templateprogram further comprises user preferences related to real-timeinformation for generating the customized page.
 7. The method of claim6, wherein the real-time information comprises stock quotes, sportsscores, and news headlines.
 8. A computer-readable non-transitory mediumtangibly storing computer instructions for a processor, when executed bythe processor the instructions cause the processor to be operable for:receiving a user request for a customized page; receiving a templateprogram that is unique to the user and based on user configurationinformation, the user configuration information being supplied by theuser and used to build the template program that is unique to the user,the user configuration information including user demographicinformation, and wherein the template program is received from one of atleast two locations, the location determined from the frequency of theuser request for the customized page; receiving an advertisementselected in accordance to the user demographic information; executingthe template program using the selected advertisement to generate thecustomized page; and providing the customized page to the user.
 9. Thecomputer-readable non-transitory medium of claim 8, wherein the userdemographic information includes at least one of the group consisting ofsex, age, and location information.
 10. The computer-readablenon-transitory medium of claim 8, wherein location information comprisesa postal code.
 11. The computer-readable non-transitory medium of claim8, wherein location information comprises a time zone.
 12. Thecomputer-readable non-transitory medium of claim 8, wherein theadvertisement is classified based on targeted demographic information.13. The computer-readable non-transitory medium of claim 8, wherein thetemplate program further comprises user preferences related to real-timeinformation for generating the customized page.
 14. Thecomputer-readable non-transitory medium of claim 13, wherein thereal-time information comprises stock quotes, sports scores, and newsheadlines.
 15. A system comprising: logic for receiving a user requestfor a customized page; logic for receiving a template program that isunique to the user and based on user configuration information, the userconfiguration information being supplied by the user and used to buildthe template program that is unique to the user, the user configurationinformation including user demographic information, wherein the templateprogram is received from one of at least two locations, the locationdetermined from the frequency of the user request for the customizedpage; logic for receiving an advertisement selected in accordance to theuser demographic information; a processor for executing the templateprogram using the selected advertisement to generate the customizedpage; and logic for providing the customized page to the user.
 16. Thesystem of claim 15, wherein one of the at least two locations is a localstorage.
 17. The system of claim 15 further comprising logic forreceiving real-time data from a shared memory.